<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Insert title here</title>
    <link rel="stylesheet" type="text/css" href="css/page.css">
</head>
<body>
<%@include file="head.jsp" %>
<div class="bg1">
    <ul>
        <li><a href="${pageContext.request.contextPath}/findStudentAll"><input type="button" value="查询所有学生信息" class="button1"/></a></li><br/>
        <li><a href="${pageContext.request.contextPath}/sm1JSP"><input type="button" value="按学号查询" class="button1"/></a></li><br/>
        <li><a href="${pageContext.request.contextPath}/sm2JSP"><input type="button" value="按学生姓名查询" class="button1"/></a></li><br/>
        <li><a href="${pageContext.request.contextPath}/smAddJSP"><input type="button" value="办理入住" class="button2"/></a></li><br/>
    </ul>
</div>
<div class="bg2">
    <form action="${pageContext.request.contextPath}/addStudent" method="post">
        <table style="text-align:left">
            <tr><td align="right" width="30%">学生学号：</td><td><input type="text" name="id" class="text"/></td><tr>
            <tr><td align="right" width="30%">学生姓名：</td><td><input type="text" name="name" class="text"/></td><tr>
            <tr><td align="right" width="30%">年级：</td><td><input type="text" name="grade" class="text"/></td><tr>
            <tr><td align="right" width="30%">所在系：</td><td><input type="text" name="department" class="text"/></td><tr>
            <tr><td align="right" width="30%">班级：</td><td><input type="text" name="cla" class="text"/></td><tr>
            <tr><td align="right" width="30%">宿舍信息：</td><td><input type="text" name="building" class="text1"/>号楼
                <input type="text" name="floor" class="text1"/>层
                <input type="text" name="dorm" class="text1"/>号
                <input type="text" name="bed" class="text1"/>号床</td><tr/>
            <tr><td align="right" width="30%"><input type="submit" value="确定" class="button"/>&nbsp;&nbsp;&nbsp;</td>
                <td><input type="reset" value="重置" class="button"/></td><tr>
        </table></form>
</div>
</body>
</html>